<template>
  <hello :msg="msg" @adddianji="abc"></hello>
  <el-row class="mb-4">
    <el-button disabled>Default</el-button>
    <el-button type="primary" disabled>Primary</el-button>
    <el-button type="success" disabled>Success</el-button>
    <el-button type="info" disabled>Info</el-button>
    <el-button type="warning" disabled>Warning</el-button>
    <el-button type="danger" disabled>Danger</el-button>
  </el-row>
</template>
 
<script setup lang="ts">
import { ref } from 'vue';
import hello from '@/components/tanhang.vue'
//data
const msg = ref<string>('别点我！')
//methods
const abc = (e: string) => {
  console.log(e);

}
</script>